package com.fita.entity.order;

import com.demo2do.core.format.DecimalFormat;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/**
 * 
 * @author sjh
 *
 */
public class OrderComponent {
	
	/**
	 * 支付方式
	 */
	@Enumerated(EnumType.STRING)
    private OrderPayType orderPayType;  
	
	/**
	 * 支付流水号
	 */
	 private String payCode;
	
	/** 支付时间 */
    private String payTime;
    
    @DecimalFormat(scale = 100)
    private int actualPayPrice; // 实际支付金额(精确到分)(￥)

	/**
	 * 支付截图
	 */
	private String payPic;
   
    
    /**
     * The default constructor
     */
	public OrderComponent() {
		super();
	}


	/**
	 * @return the orderPayType
	 */
	public OrderPayType getOrderPayType() {
		return orderPayType;
	}


	/**
	 * @return the payCode
	 */
	public String getPayCode() {
		return payCode;
	}


	/**
	 * @return the payTime
	 */
	public String getPayTime() {
		return payTime;
	}


	/**
	 * @return the actualPayPrice
	 */
	public int getActualPayPrice() {
		return actualPayPrice;
	}


	/**
	 * @param orderPayType the orderPayType to set
	 */
	public void setOrderPayType(OrderPayType orderPayType) {
		this.orderPayType = orderPayType;
	}


	/**
	 * @param payCode the payCode to set
	 */
	public void setPayCode(String payCode) {
		this.payCode = payCode;
	}


	/**
	 * @param payTime the payTime to set
	 */
	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}


	/**
	 * @param actualPayPrice the actualPayPrice to set
	 */
	public void setActualPayPrice(int actualPayPrice) {
		this.actualPayPrice = actualPayPrice;
	}

	public String getPayPic() {
		return payPic;
	}

	public void setPayPic(String payPic) {
		this.payPic = payPic;
	}
}
